/**
 * 
 */
package com.netflexitysolutions.amazonws.sdb.orm.types;

import java.io.ByteArrayOutputStream;
import java.io.IOException;

/**
 * @author netflexity
 *
 */
public class S3Object {

	private ByteArrayOutputStream baos = new ByteArrayOutputStream(10240);
	
	/**
	 * @param bytes
	 * @throws IOException
	 */
	public void write(byte[] bytes) throws IOException{
		baos.write(bytes);
	}
	
	public byte[] getContent(){
		byte[] content = baos.toByteArray();
		return content;
	}
}
